<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="Author" content="Dennis Sigel">
   <META NAME="COPYRIGHT" CONTENT="Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.">
   <meta name="GENERATOR" content="Mozilla/4.5 [en] (X11; I; SunOS 5.7 sun4u) [Netscape]">
</head>
<body>

<h3>Getting Started:</h3>
<p>
<strong>Demo</strong><br>
This non-interactive demo is the proverbial "Hello World"
example program written using JAI.  It reads and displays
an image.  It uses Java Swing components for labels, layout
management, and display widgets.  The tabs located at the bottom
of the following page can be used to switch between the demo and
the demo's source code.
</p>

<p>
<strong>JAI</strong><br>
The basic function used to create an image from a
file is:
<pre>
<code>
    PlanarImage source = JAI.create("fileload", file);
</code>
</pre>
This function automatically determines the file format and
produces an image object which can be displayed or processed.
</p>

<p>
<strong>Theory</strong><br>
JAI is fully integrated with other Java packages such as
Swing and Java2D.  This example illustrates the basic framework
needed to load and display an image.
</p>
</body>
</html>
